﻿<%@ Page CodeFileBaseClass="AliCMS.Lib.SystemPageBase" %>
<ali:Get ID="Module" Object="Module" Operation="Get(Request.QueryString['Namespace'])" />
<ali:Get ID="Object" Object="Module.Object" Operation="Get(Request.QueryString['Namespace'], Convert.ToInt32(Request.QueryString['ObjectID']))" />
<section data-page="module_object_property_list" data-title="属性列表" data-lang="<%=ContentLang%>" data-namespace="<%=Module[Namespace]%>" data-object-id="<%=Request.QueryString["ObjectID"]%>">
	<dl class="path1">
		<dt><span>您的位置：</span><a href="../../list.aspx" target="ali-navtab">模块列表</a> → <a href="../list.aspx?Lang=<%=ContentLang%>&amp;Namespace=<%=Request.QueryString["Namespace"]%>" target="ali-navtab"><b class="<%=ContentLang%>Font"><%=Module[Label]%></b>模块的对象列表</a> → <b class="<%=ContentLang%>Font"><%=Object[Label]%></b></dt>
		<dd>
			<select data-class="<%=ContentLang%>Font" data-ali-widget="combo">
				<ali:List Object="Language" Source="Manager.Languages">
					<ali:Record>
						<%If Convert.ToString(Ab) == ContentLang%>
							<option value="<%=Ab%>" selected><%=[AliCMS.SystemModule.Alias.Language.Name + PageLang]%></option>
						<%Else%>
							<option value="<%=Ab%>"><%=[AliCMS.SystemModule.Alias.Language.Name + PageLang]%></option>
						<%EndIf%>
					</ali:Record>
				</ali:List>
			</select>
		</dd>
	</dl>
	<div class="ali-tabs sub-nav" data-height-style="fill" data-event="click">
		<div class="ali-tabs-header">
			<div class="ali-tabs-nav-container">
				<ul>
					<li><a href="../edit.aspx?Lang=<%=ContentLang%>&amp;Namespace=<%=Request.QueryString["Namespace"]%>&amp;ID=<%=Request.QueryString["ObjectID"]%>" target="ali-navtab">编辑</a></li>
					<li><a href="../operation/list.aspx?Lang=<%=ContentLang%>&amp;Namespace=<%=Request.QueryString["Namespace"]%>&amp;ObjectID=<%=Request.QueryString["ObjectID"]%>" target="ali-navtab">操作列表</a></li>
					<li><a href="../operation/add.aspx?Lang=<%=ContentLang%>&amp;Namespace=<%=Request.QueryString["Namespace"]%>&amp;ObjectID=<%=Request.QueryString["ObjectID"]%>" target="ali-navtab">添加操作</a></li>
					<li class="ali-active"><a>属性列表</a></li>
					<li><a href="add.aspx?Lang=<%=ContentLang%>&amp;Namespace=<%=Request.QueryString["Namespace"]%>&amp;ObjectID=<%=Request.QueryString["ObjectID"]%>" target="ali-navtab">添加属性</a></li>
				</ul>				
			</div>
		</div>
		<div class="ali-tabs-body">
			<div class="ali-tabs-panel"></div>
			<div class="ali-tabs-panel"></div>
			<div class="ali-tabs-panel"></div>
			<div class="ali-tabs-panel">
				<table data-ali-widget="grid" class="grid1">
					<thead>
						<tr>
							<th width="40">编号</th>
							<th>名称</th>
							<th>字段名称</th>
							<th width="80">删除</th>
						</tr>
					</thead>
					<tbody>
						<ali:List Object="Module.Object.Property" Condition="Namespace=Request.QueryString['Namespace'] and ObjectInnerID=Request.QueryString['ObjectID']" Validate="True">
							<ali:Record>
								<tr data-id="<%=InnerID%>">
									<td data-sort="<%=InnerID%>" data-name="<%=Name%>"><%=InnerID%></td>
									<td><a href="edit.aspx?Lang=<%=ContentLang%>&amp;Namespace=<%=Request.QueryString["Namespace"]%>&amp;ObjectID=<%=Request.QueryString["ObjectID"]%>&amp;ID=<%=InnerID%>" target="ali-navtab"><%=Name%></a></td>
									<td><a href="edit.aspx?Lang=<%=ContentLang%>&amp;Namespace=<%=Request.QueryString["Namespace"]%>&amp;ObjectID=<%=Request.QueryString["ObjectID"]%>&amp;ID=<%=InnerID%>" target="ali-navtab"><%=FieldName%></a></td>
									<td><a href="" class="ali-button" data-operation="Delete">删除</a></td>
								</tr>
							</ali:Record>
						</ali:List>
					</tbody>
				</table>
			</div>
		</div>
		<div class="ali-tabs-bottom"><b></b></div>
	</div>
</section>